package com.lyh.db137.service.impl;

import com.lyh.db137.entity.Menu;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lyh.db137.entity.User;
import com.lyh.db137.mapper.UserMapper;
import com.lyh.db137.service.UserService;

import java.util.List;

/**
  * @Author: 想要告诉你
  * @CreateTime: 2024/12/24 11:48
  * @Description: 
  * @Version: 1.0
  */
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements UserService{
    @Autowired
    private UserMapper userMapper;

    @Override
    public List<Menu> selectUserByName(int id) {
        return userMapper.selectUserByName(id);
    }
}
